<!DOCTYPE html>
<html lang="en">
<head>
    <title></title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" href="../../../../static/lib/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../../static/lib/layuiadmin/style/admin.css" media="all">
   <script src="/static/lib/layuiadmin/layui/layui.js"></script>     <script src="/static/lib/layuiadmin/layui/layui.all.js"></script>
    <script src="../../../common/jquery-3.3.1.min.js"></script>
    <script src="../../../common/dataGrid.js"></script>
    <script src="../../../common/common.js"></script>
    <script src="../../../common/listTree.js"></script>
    <script src="../../../common/style.js"></script>
</head>
<body>
<div class="layui-fluid" id="LAY-component-grid-mobile" style="height: 100%;padding:10px;">
    <div class="layui-row layui-col-space10" style="height: 100%">
        <div class="layui-col-xs12" style="height: 100%;">
            <div class="layui-card" style="height: 100%">
                <div class="layui-card-body">
                    <div id="btn-zs">
                        <input type="text" id='key' lay-filter="key" style='width:120px;height:33px;display:inline-block;margin-right:10px;' class="layui-input" autocomplete="off"/>
                        <button class="layui-btn layui-btn-sm" onclick="search_data()" style="width:70px;margin-top: -5px;display:inline-block;"><i class="layui-icon">&#xe615;</i>查询</button>
                        <button class="layui-btn layui-btn-sm" onclick="refresh_data()" style="width:70px;margin-top: -5px;display:inline-block;"><i class="layui-icon">&#xe615;</i>刷新</button>
                    </div>

                    <div id="gridList" style="margin-top: 20px; width: 100%;height: 100%"
                         url="/wf/form/list" idField="formId" allowResize="true" multiSelect="false"
                         sizeList="[10,20,50,100]" pageSize="10" pageIndexField="page" pageSizeField="rows"
                         dataField="rows" onrowdblclick="ondbclickChooseFun">
                        <div property="columns" style="display: none;height: 100%">
                            <div type="indexcolumn" width="40" headerAlign="center">No.</div>
                            <div field='displayName' width='30%' headerAlign='center' allowSort='true'>表单名称</div>
                            <div field='formName' width='25%' headerAlign='center' allowSort='true'>表单标识</div>
                            <div field='description' width='30%' headerAlign='center' allowSort='true'>备注</div>
                            <div field="formId" width="10%" headerAlign="center" allowSort="false"
                                 cellStyle="text-align:center;" renderer="formatOper">操作
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
<script type="text/javascript" src="formSelector.js"></script>

